package com.ityuwen.mengyagushi.search.client;

import com.ityuwen.mengyagushi.search.client.impl.SearchDegradeFeignClient;
import com.ityuwen.mengyagushi.common.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * <p>
 * 产品列表API接口
 * </p>
 *
 * @author qy
 */
@FeignClient(value = "service-search", fallback = SearchDegradeFeignClient.class)
public interface SearchFeignClient {

    @PostMapping("api/search/albumInfo/updateRanking")
    Result updateRanking();
}